package com.ruoyi.dynamic.model.pojo.result.app;

import com.ruoyi.common.core.utils.CollectionUtils;
import com.ruoyi.dynamic.model.pojo.entity.RoomUserPostPermission;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.SuperBuilder;

import java.io.Serializable;
import java.util.List;
import java.util.Set;

@Getter
@Setter
@SuperBuilder
@NoArgsConstructor
@Schema(description = "APP-房间管理员详情")
public class AppRoomUserPostInfoResult implements Serializable {

    @Schema(description = "id")
    private Long id;

    @Schema(description ="职位id")
    private Long postId;

    @Schema(description ="用户id")
    private Long userId;

    @Schema(description ="职位图标")
    private String postIconUrl;

    @Schema(description ="房间id")
    private Long roomId;

    @Schema(description ="用户昵称")
    private String userNickName;

    @Schema(description ="用户头像")
    private String userPhoto;

    @Schema(description ="职位名称")
    private String postName;

    @Schema(description = "用户权限列表")
    private List<RoomUserPostPermission> userPostPermissions = CollectionUtils.emptyList();


}
